/*    */ package system.staros.sblock1;
/*    */ 
/*    */ public class Token
/*    */ {
/*    */   private SourcePosition position;
/*    */   private TokenType type;
/*    */   private String text;
/*    */ 
/*    */   public Token(SourcePosition paramSourcePosition, TokenType paramTokenType, String paramString)
/*    */   {
/* 36 */     this.position = paramSourcePosition;
/* 37 */     this.type = paramTokenType;
/* 38 */     this.text = paramString;
/*    */   }
/*    */ 
/*    */   public SourcePosition getPosition() {
/* 42 */     return this.position;
/*    */   }
/*    */ 
/*    */   public TokenType getType() {
/* 46 */     return this.type;
/*    */   }
/*    */ 
/*    */   public String getText() {
/* 50 */     return this.text;
/*    */   }
/*    */ 
/*    */   public boolean equals(Object paramObject)
/*    */   {
/* 55 */     if (this == paramObject)
/* 56 */       return true;
/* 57 */     if (!(paramObject instanceof Token))
/* 58 */       return false;
/* 59 */     Token localToken = (Token)paramObject;
/* 60 */     return (this.type == localToken.type) && (this.text.equals(localToken.text)) && (this.position.equals(localToken.position));
/*    */   }
/*    */ 
/*    */   public String toString()
/*    */   {
/* 65 */     return this.type + ",'" + this.text + "'";
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.sblock1.Token
 * JD-Core Version:    0.6.1
 */